package com.amazon.ags.client.leaderboards;

import com.amazon.ags.api.ErrorCode;
import com.amazon.ags.api.leaderboards.GetLeaderboardsResponse;
import com.amazon.ags.api.leaderboards.Leaderboard;
import com.amazon.ags.client.RequestResponseImp;
import java.util.List;

public class GetLeaderboardsResponseImp extends RequestResponseImp
  implements GetLeaderboardsResponse
{
  private final List<Leaderboard> leaderboards;
  private final int numLeaderboards;

  public GetLeaderboardsResponseImp(int paramInt, ErrorCode paramErrorCode)
  {
    super(paramInt, paramErrorCode);
    this.numLeaderboards = 0;
    this.leaderboards = null;
  }

  public GetLeaderboardsResponseImp(List<Leaderboard> paramList, int paramInt)
  {
    super(paramInt);
    this.leaderboards = paramList;
    this.numLeaderboards = paramList.size();
  }

  public final int getEventType()
  {
    return 9;
  }

  public final List<Leaderboard> getLeaderboards()
  {
    return this.leaderboards;
  }

  public final int getNumLeaderboards()
  {
    return this.numLeaderboards;
  }

  public final String toString()
  {
    String str = super.toString();
    return str + "\n numLeaderboards: " + this.numLeaderboards;
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.amazon.ags.client.leaderboards.GetLeaderboardsResponseImp
 * JD-Core Version:    0.6.2
 */